const buttonCode=[
  {
    code:`
      <Button size={'large'}>大</Button>
      <Button >正常</Button>
      <Button size={'small'}>小</Button>

      <Button size={'large'} buttonType={'primary'}>大</Button>
      <Button buttonType={'primary'}>正常</Button>
      <Button size={'small'} buttonType={'primary'}>小</Button>
    `,
    intro:`基本用法`
  },
  {
    code:`
      <Button buttonType={'dashed'}>dashed</Button>
      <Button buttonType={'text'}>Text</Button>
      <Button danger>Danger</Button>
    `,
      intro:`为Button指定类型，dashed,text...`
  }
  ,{
    code: `
      <Button buttonType={'primary'} loading icon={<Icon name={'loading'}/>}>加载中</Button>
      <Button buttonType={'dashed'} loading icon={<Icon name={'loading'}/>}>加载中</Button>
      <Button loading icon={<Icon name={'loading'}/>}>加载中</Button>
   
    `,
    intro: `加载中的按钮,添加loading属性。`
  }

]
export {buttonCode}